package com.cs.chain;

/**
 * @author Sam.Lee E-mail:lishanman2007@163.com
 * @version Created：Aug 16, 2011 10:32:49 AM
 */
public class Main {
	public static void main(String[] args) {
		Filter filter1 = new SecurityFilter();
		filter1.setFilter(new EncodingFilter()).setFilter(new ProcessFilter());
		filter1.doChain("sam", "utf-8");

		System.out.println("====================");
		
		filter1.doChain("sam", "GBK");
	}
}
